﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Akronus.TaskScheduler
{
    /// <summary>
    /// Contains information about task schedule.
    /// </summary>
    public class TaskSchedule
    {
        /// <summary>
        /// Gets or sets the interval.
        /// </summary>
        /// <value>The interval.</value>
        public double Interval { get; set; }

        /// <summary>
        /// Gets or sets a value indicating whether to run the task immediately after the start or after the interval.
        /// </summary>
        /// <value><c>true</c> if the task should be run immediately; otherwise, <c>false</c>.</value>
        public bool RunTaskImmediately { get; set; }
    }
}
